﻿using System.Collections.Generic;

namespace Core.Domain
{
	public abstract class AccountRepository
	{
		public abstract Account GetByEmail(string email);

		public abstract IEnumerable<Account> EnumerateAccounts();

		public abstract bool ContainsWithEmail(string email);

		public abstract Account Save(Account account);		
	}
}
